package com.tengju.data.infrastructure.persistence.mybatis.mapper.data.custom;

import com.tengju.data.infrastructure.persistence.mybatis.dataobject.DealerMarketingCalendarDO;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

/**
 * @author: 大木
 * @date: 2021/10/13 8:00 下午
 */
public interface DealerMarketingCalendarMapper {

    List<DealerMarketingCalendarDO> getActivityByPeriod(@Param("startTime") LocalDate startTime,
                                                        @Param("endTime") LocalDate endTime);

    DealerMarketingCalendarDO getActivityById(@Param("activityId") Long activityId);

}
